﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Data;

namespace SearchTopGame
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IGameService
    {

        [OperationContract]
        GameDataSet GetGameByName(string value);
    }


    // Use a data contract as illustrated in the sample below to add composite types to service operations.
    [DataContract]
    public class GameDataSet
    {
        DataSet _games;

        [DataMember]
        public DataSet Games
        {
            get { return _games; }
            set { _games = value; }
        }

    }
}
